var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function ($) { "use strict"; /* ================================= === MAILCHIMP ==== =================================== */ $('.mailchimp').ajaxChimp({ callback: mailchimpCallback, url: "https://web.archive.org/web/20211203012840/http://webdesign7.us6.list-manage.com/subscribe/post?u=9445a2e155b82208d73433060&id=16dc80e353" //Replace this with your own mailchimp post URL. Don't remove the "". Just paste the url inside "". }); function mailchimpCallback(resp) { if (resp.result === 'success') { $('.subscription-success').html('' + resp.msg).fadeIn(1000); $('.subscription-error').fadeOut(500); } else if (resp.result === 'error') { $('.subscription-error').html('' + resp.msg).fadeIn(1000); } } /* ================================= === STICKY NAV ==== =================================== */ $('.main-navigation').onePageNav({ scrollThreshold: 0.2, // Adjust if Navigation highlights too early or too late scrollOffset: 75, //Height of Navigation Bar filter: ':not(.external)', changeHash: true }); /* NAVIGATION VISIBLE ON SCROLL */ mainNav(); $(window).scroll(function () { mainNav(); }); function mainNav() { var top = (document.documentElement && document.documentElement.scrollTop) || document.body.scrollTop; if (top > 40) $('.sticky-navigation').stop().animate({ "opacity": '1', "top": '0' }); else $('.sticky-navigation').stop().animate({ "opacity": '0', "top": '-75' }); } /* ================================= === OWL CROUSEL ==== =================================== */ var owl = $("#screenshots"); owl.owlCarousel({ items: 3, //3 items above 1000px browser width itemsDesktop: [1000, 3], //3 items between 1000px and 901px itemsDesktopSmall: [900, 2], // betweem 900px and 601px itemsTablet: [600, 1], //1 items between 600 and 0 itemsMobile: false, // itemsMobile disabled - inherit from itemsTablet option navigation: false, // Show next and prev buttons slideSpeed: 800, paginationSpeed: 400, autoPlay: 5000, stopOnHover: true }); var owl = $("#feedbacks"); owl.owlCarousel({ items: 3, //3 items above 1000px browser width itemsDesktop: [1000, 2], //2 items between 1000px and 901px itemsDesktopSmall: [900, 2], // betweem 900px and 601px itemsTablet: [600, 1], //1 items between 600 and 0 itemsMobile: false, // itemsMobile disabled - inherit from itemsTablet option navigation: false, // Show next and prev buttons stopOnHover: true }); /* ================================= === Nivo Lightbox ==== =================================== */ $('#screenshots a').nivoLightbox({ effect: 'fadeScale', }); /* ================================= === CONTACT FORM ==== =================================== */ $("#contact").submit(function (e) { e.preventDefault(); var name = $("#cf-name").val(); var email = $("#cf-email").val(); var subject = $("#cf-subject").val(); var message = $("#cf-message").val(); var dataString = 'name=' + name + '&email=' + email + '&subject=' + subject + '&message=' + message; function isValidEmail(emailAddress) { var pattern = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i); return pattern.test(emailAddress); }; if (isValidEmail(email) && (message.length > 1) && (name.length > 1)) { $.ajax({ type: "POST", url: "sendmail.php", data: dataString, success: function () { $('.success').fadeIn(1000); $('.error').fadeOut(500); } }); } else { $('.error').fadeIn(1000); $('.success').fadeOut(500); } return false; }); /* ================================= === EXPAND COLLAPSE ==== =================================== */ $('.expand-form').simpleexpand({ 'defaultTarget': '.expanded-contact-form' }); /* ================================= === DOWNLOAD BUTTON CLICK SCROLL == =================================== */ $('#cta-1, #cta-2, #cta-3, #cta-4, #cta-5').localScroll({ duration: 1000 }); /* ================================= === RESPONSIVE VIDEO == =================================== */ $(".video-container").fitVids(); /* ================================= === SMOOTH SCROLL ==== =================================== */ var scrollAnimationTime = 1200, scrollAnimation = 'easeInOutExpo'; $('a.scrollto').bind('click.smoothscroll', function (event) { event.preventDefault(); var target = this.hash; $('html, body').stop().animate({ 'scrollTop': $(target).offset().top }, scrollAnimationTime, scrollAnimation, function () { window.location.hash = target; }); }); /* ================================= === Bootstrap Internet Explorer 10 in Windows 8 and Windows Phone 8 FIX =================================== */ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement('style') msViewportStyle.appendChild( document.createTextNode('@-ms-viewport{width:auto!important}')) document.querySelector('head').appendChild(msViewportStyle) } })(jQuery); $(window).resize(function () { "use strict"; var ww = $(window).width(); /* COLLAPSE NAVIGATION ON MOBILE AFTER CLICKING ON LINK */ if (ww < 480) { $('.main-navigation a').on('click', function () { $(".navbar-toggle").click(); }); } }); } /* FILE ARCHIVED ON 01:28:40 Dec 03, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:22:04 Jun 26, 2022. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 119.618 exclusion.robots: 0.099 exclusion.robots.policy: 0.09 RedisCDXSource: 37.441 esindex: 0.008 LoadShardBlock: 62.14 (3) PetaboxLoader3.datanode: 47.279 (4) CDXLines.iter: 17.504 (3) PetaboxLoader3.resolve: 91.415 (2) load_resource: 98.44 */